package com.dyh.pojo;

//友链表
public class Link {

    private int id;

    /*
    * 网站名称
    * */
    private String links;

    /*
    * 网站链接
    * */
    private String href;

    /*
    * 排序
    * */
    private int sort;

    public Link(int id, String links, String href, int sort) {
        this.id = id;
        this.links = links;
        this.href = href;
        this.sort = sort;
    }

    public Link() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLinks() {
        return links;
    }

    public void setLinks(String links) {
        this.links = links;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return "Links{" +
                "id=" + id +
                ", links='" + links + '\'' +
                ", href='" + href + '\'' +
                ", sort=" + sort +
                '}';
    }
}
